package com.lagou.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @BelongProject: lagou-parent
 * @author: 胡恺恺
 * @createTime: 2021/1/29  10:12
 * @Description:
 */
@SpringBootApplication
@EnableDiscoveryClient // 注册到Eureka server
@EnableConfigServer // 开启配置服务器
public class ConfigServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }
}
